4542d0ae947806d2ff1a9eca77e34cbc85467e15,src/edu/umass/cs/gnsclient/console/commands/AclList.java,AclList,parse,#String#,81
Before Change
// Then write ACLs
JSONArray write = gnsClient.aclGet(AclAccessType.WRITE_WHITELIST, module.getCurrentGuid(), field, module
.getCurrentGuid().getGuid());
console.printString("Write ACL: " + write.toString());
console.printNewline();
}
catch (Exception e)
{
After Change
}
// Then write ACLs
if (gnsClient.fieldAclExists(AclAccessType.WRITE_WHITELIST, module.getCurrentGuid(), field)) {
JSONArray write = gnsClient.aclGet(AclAccessType.WRITE_WHITELIST, module.getCurrentGuid(), field, module
.getCurrentGuid().getGuid());
console.printString("Write ACL: " + write.toString());
console.printNewline();
} else {
console.printString("Write ACL for field " + field + " does not exist");
console.printNewline();
}
} catch (Exception e) {